package com.yao.component.circle;

import com.yao.component.circle.CircleDataSource;
import com.yao.component.circle.CircleView;
import com.yao.component.circle.dataobject.CircleProfile;
import com.yao.component.circle.dataobject.Message;
import com.yao.component.circle.dataobject.Post;
import com.yao.sdk.net.NetWork;
import com.yao.sdk.net.NetWorkListener;
import com.yao.sdk.net.ResponseInfo;

import java.util.List;

/**
 * Created by Administrator on 2015/12/2.
 */
public abstract class AbstractCircleDataSource implements CircleDataSource, NetWorkListener {

    protected CircleView circleView;
    List<Post> dataList;
    public AbstractCircleDataSource() {

    }

    public void setCircleView(CircleView circleView) {
        this.circleView = circleView;
    }

    public void setCachedData(List<Post> postList) {
        dataList = postList;
    }

    @Override
    public void onResponse(String url, ResponseInfo responseInfo) {

    }
}
